using System;
using System.Security.Permissions;

namespace LogExpert
{
	public interface ILogExpertProxy
	{
		/// <summary>
		/// Load the given files into the existing window.
		/// </summary>
		/// <param name="fileNames"></param>
		void LoadFiles(string[] fileNames);

		/// <summary>
		/// Open a new LogExpert window and load the given files.
		/// </summary>
		/// <param name="fileNames"></param>
		void NewWindow(string[] fileNames);

		/// <summary>
		/// load given files into the locked window or open a new window if no window is locked.
		/// </summary>
		/// <param name="fileNames"></param>
		void NewWindowOrLockedWindow(string[] fileNames);

		/// <summary>
		/// Called from LogTabWindow when the window is about to be closed.
		/// </summary>
		/// <param name="logWin"></param>
		void WindowClosed(LogTabWindow logWin);

		int GetLogWindowCount();
		//void BroadcastSettingsChanged(Object cookie);
	}
}